package com.anjubao.parking.municipal.parkinglot.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 设备状态
 *
 * @author zhuchunfeng
 * @date 2019/4/10 14:06
 */
@Data
@ToString
public class ParkingLotDeviceStatusDto {

//
//    @TableField(value="id")
//    @ApiModelProperty(name="id",value = "id")
//    private Long id;

//    @TableField(value="code")
//    @ApiModelProperty(name="code",value = "编号")
//    private String code;

//    @TableField(value="parking_lot_id")
//    @ApiModelProperty(name="parkingLotId",value = "停车场ID")
//    private Long parkingLotId;
//
//    @TableField(value="parking_lot_code")
//    @ApiModelProperty(name="parkingLotCode",value = "停车场编号,code生成规则为100(3位)+yyMMddHHmm(10位)+id(19位)")
//    private String parkingLotCode;

//    @TableField(value="parking_lot_name")
//    @ApiModelProperty(name="parkingLotName",value = "停车场名称")
//    private String parkingLotName;
//
//    @TableField(value="parking_lot_slot_id")
//    @ApiModelProperty(name="parkingLotSlotId",value = "停车场停车位ID")
//    private Long parkingLotSlotId;
//
//    @TableField(value="parking_lot_slot_code")
//    @ApiModelProperty(name="parkingLotSlotCode",value = "停车场停车位编号")
//    private String parkingLotSlotCode;
//
//    @TableField(value="parking_lot_slot_name")
//    @ApiModelProperty(name="parkingLotSlotName",value = "停车场停车位名称")
//    private String parkingLotSlotName;
//
//    @TableField(value="device_id")
//    @ApiModelProperty(name="deviceId",value = "设备id")
//    private Long deviceId;

//    @TableField(value="device_code")
//    @ApiModelProperty(name="deviceCode",value = "设备code")
//    private String deviceCode;

    @ApiModelProperty(name="deviceName",value = "设备名称")
    private String deviceName;

    @ApiModelProperty(name="deviceType",value = "类型 1:充电桩,2:视频桩,3:地磁,4:pda,5:诱导屏")
    private Integer deviceType;

    @ApiModelProperty(name="isOnline",value = "运行状态 0:断线 1:在线")
    private Integer isOnline;

    @ApiModelProperty(name="status",value = "状态 -1：故障，0：禁用，1：正常")
    private Integer status;

    @ApiModelProperty(name="remainingBattery",value = "剩余电量")
    private Integer remainingBattery;

//    @TableField(value="province_id")
//    @ApiModelProperty(name="provinceId",value = "所在省份ID")
//    private Integer provinceId;
//
//    @TableField(value="province_name")
//    @ApiModelProperty(name="provinceName",value = "所在省份名称")
//    private String provinceName;

//    @TableField(value="city_id")
//    @ApiModelProperty(name="cityId",value = "所在城市ID")
//    private Integer cityId;
//
//    @TableField(value="city_name")
//    @ApiModelProperty(name="cityName",value = "所在城市名称")
//    private String cityName;

    @ApiModelProperty(name="districtId",value = "所在行政区ID")
    private Integer districtId;

    @ApiModelProperty(name="districtName",value = "所在行政区名称")
    private String districtName;

    @ApiModelProperty(name="location",value = "地址")
    private String location;

//    @TableField(value="note")
//    @ApiModelProperty(name="note",value = "备注")
//    private String note;

//    @TableField(value="fix_by")
//    @ApiModelProperty(name="fixBy",value = "修复人")
//    private String fixBy;
//
//    @TableField(value="fix_time")
//    @ApiModelProperty(name="fixTime",value = "修复时间")
//    private LocalDateTime fixTime;
//
//    @TableField(value="fix_note")
//    @ApiModelProperty(name="fixNote",value = "修复备注")
//    private String fixNote;

    @ApiModelProperty(name="lastReportTime",value = "最后报到时间")
    private LocalDateTime lastReportTime;

    //上报信息
    private String reportMsg;

}
